package com.food.eat.search.controller;

import com.food.eat.search.service.EsSearchService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author:RenPu
 * @Date: 2020/8/10 10:33
 * @Version: 1.0
 * @description:
 */

@RestController
@RequestMapping("/")
public class EsSearchController {

    @Resource
    private EsSearchService esSearchService;

    @RequestMapping("/esTest")
    public String elasticSearchTest() {

        return "welcome elastic search !!!!!!!!";
    }


}
